package com.ruoyi.system.domain;

import java.math.BigDecimal;

import org.apache.commons.lang3.RandomStringUtils;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 计算对象 tb_compute
 *
 * @author ruoyi
 * @date 2024-09-01
 */
public class Compute extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 计算表id
     */
//    @Excel(name = "计算表id")
    private Long quantifyId;

    /**
     * 行业类目id
     */
    private Long cateId;

    /**
     * 分类id
     */
//    @Excel(name = "分类id")
    private Long typeId;

    /**
     * 规格id
     */
//    @Excel(name = "规格id")
    private Long specId;

    /**
     * 单位id
     */
//    @Excel(name = "单位id")
    private Long brandId;

    /**
     * 总数量
     */
    @Excel(name = "数量", sort = 4)
    private BigDecimal allNum;

    /**
     * 0正常 1删除
     */
//    @Excel(name = "0正常 1删除")
    private Integer deleted;

    /**
     * 批次号
     */
    private Integer batchNum;

    /**
     * 周开始
     */
    private String weekStart;

    /**
     * 周结束
     */
    private String weekEnd;

    /**
     * 0未发起 1已发起
     */
    private Integer status;

    /**
     * 分类名称
     */
    @Excel(name = "商品", sort = 1)
    private String typeName;
    /**
     * 规格名称
     */
    @Excel(name = "规格", sort = 2)
    private String specName;
    /**
     * 单位名称
     */
    @Excel(name = "单位", sort = 3)
    private String brandName;
    /**
     * 行业类目名称
     */
    @Excel(name = "类目", sort = 0)
    private String cateName;

    /**
     * ids
     */
    private String ids;

    /**
     * 最高报价
     */
    private BigDecimal price;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCateName() {
        return cateName;
    }

    public void setCateName(String cateName) {
        this.cateName = cateName;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getWeekStart() {
        return weekStart;
    }

    public void setWeekStart(String weekStart) {
        this.weekStart = weekStart;
    }

    public String getWeekEnd() {
        return weekEnd;
    }

    public void setWeekEnd(String weekEnd) {
        this.weekEnd = weekEnd;
    }

    public Integer getBatchNum() {
        return batchNum;
    }

    public void setBatchNum(Integer batchNum) {
        this.batchNum = batchNum;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setQuantifyId(Long quantifyId) {
        this.quantifyId = quantifyId;
    }

    public Long getQuantifyId() {
        return quantifyId;
    }

    public Long getCateId() {
        return cateId;
    }

    public void setCateId(Long cateId) {
        this.cateId = cateId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setSpecId(Long specId) {
        this.specId = specId;
    }

    public Long getSpecId() {
        return specId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public Long getBrandId() {
        return brandId;
    }

    public void setAllNum(BigDecimal allNum) {
        this.allNum = allNum;
    }

    public BigDecimal getAllNum() {
        return allNum;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Integer getDeleted() {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("quantifyId", getQuantifyId())
                .append("typeId", getTypeId())
                .append("specId", getSpecId())
                .append("brandId", getBrandId())
                .append("allNum", getAllNum())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("deleted", getDeleted())
                .toString();
    }
}
